package pms.qa.service;

import java.io.File;
import java.io.InputStream;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;

import org.springframework.jdbc.support.rowset.SqlRowSet;

import pms.common.value.QaListValue;

public interface QaDetailService {
	
	QaListValue getListdetailData(String NO) throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException;
	int getCurrentStatus();
	String[] getLimitDateSub();
	String[] getConfirmDateSub();
	List<HashMap> getAskedArray() throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException;
	
	void getBlobData(String NO,String direction) throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException;
	InputStream getIs();
	String getFilename();
	//void updateListdetailData(final File file, final String fileName, String STATUS,String KINKYUU, String TO,String QUESTION, String ANSWER,String LIMIT_DATE,String ANSWER_DATE,String CONFIRM_DATE, String CONFIRMER,String MEMO, String NO) throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException;
	void updateListdetailData(final File file, final String fileName, final QaListValue detailList, final String limitDate, final String currentDate, final String confirmDate) throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException;
	List<HashMap> getMaterArrayList(String CD_TYP) throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException;
	
}
